<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"></script>
		<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css">
		<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
		<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"></script>
	</head>
	<body class="container">
		    <h3 class="mb-4">标题中添加徽章</h3>
		    <h1>爱国<span class="badge badge-pill badge-danger">1</span></h1>
		    <h2>富强<span class="badge badge-warning">2</span></h2>
		    <h3>民主<span class="badge badge-info">3</span></h3>
		    <h4>文明<span class="badge badge-primary">4</span></h4>
		    <h5>文明<span class="badge badge-secondary">5</span></h5>
		    <h6>和谐<span class="badge badge-success">6</span></h6>
	</body>
</html>
